package com.geotmt.billingcenter.common.entry;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 消耗 最新规则配置实体
 * @Author      yanghanwei
 * @Mail        yanghanwei@geotmt.com
 * @Date        2019/3/9 13:47
 * @Version     v1
 **/
@Data
public class ConsumeBaseEntry {

    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "id")
    private Integer id;

    /**
     * r_id
     */
    @ApiModelProperty(name = "rId", value = "规则id")
    private Integer rId;

    /**
     * 产品code
     */
    @ApiModelProperty(name = "productCode", value = "产品code")
    private String productCode;

    /**
     * 企业id
     */
    @ApiModelProperty(name = "companyId", value = "企业id")
    private Integer companyId;

    /**
     * 企业名称
     */
    @ApiModelProperty(name = "companyName", value = "企业名称")
    private String companyName;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "cuserId", value = "用户id")
    private Integer cuserId;

    /**
     * 用户账号
     */
    @ApiModelProperty(name = "cuserNo", value = "用户账号")
    private String cuserNo;

    /**
     * 用户名
     */
    @ApiModelProperty(name = "cuserName", value = "用户名")
    private String cuserName;

    /**
     * 内部接口id
     */
    @ApiModelProperty(name = "interfaceId", value = "内部接口id")
    private Integer interfaceId;

    /**
     * 内部接口名
     */
    @ApiModelProperty(name = "interfaceName", value = "内部接口名")
    private String interfaceName;

    /**
     * 1：非打包接口  2：打包接口
     */
    @ApiModelProperty(name = "label", value = "1：非打包接口  2：打包接口")
    private Integer label;

    /**
     * 收费标准 1.查询计费 2.查得计费 3.查询阶梯计费 4.查得阶梯计费
     * 改为 1.按量计费  2.阶梯计费
     */
    @ApiModelProperty(name = "feeFlag", value = "收费标准 1:按量计费  2.阶梯计费")
    private Integer feeFlag;

    /**
     * 生效时间
     */
    @ApiModelProperty(name = "effectTime", value = "生效时间")
    private Date effectTime;

    /**
     * 创建人
     */
    @ApiModelProperty(name = "createUserId", value = "创建人")
    private Integer createUserId;

    /**
     * 创建人名
     */
    @ApiModelProperty(name = "createUserName", value = "创建人名")
    private String createUserName;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;

    /**
     * 更新人
     */
    @ApiModelProperty(name = "updateUserId", value = "更新人")
    private Integer updateUserId;

    /**
     * 更新人名
     */
    @ApiModelProperty(name = "updateUserName", value = "更新人名")
    private String updateUserName;

    /**
     * 更新时间
     */
    @ApiModelProperty(name = "updateTime", value = "更新时间")
    private Date updateTime;

    /**
     * 状态
     */
    @ApiModelProperty(name = "status", value = "状态")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(name = "desc", value = "备注")
    private String desc;

    /**
     * consume / cost
     */
    @ApiModelProperty(name = "type", value = "consume / cost")
    private String type;

    /**
     * curr / his
     */
    @ApiModelProperty(name = "sign", value = "curr / his")
    private String sign;

}
